﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Nest;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;

namespace Md.Demo.Entity.MongoModels
{
    public class EsBase
    {
        public string id { get; set; } = Guid.NewGuid().ToString();
        public DateTime createDate { get; set; } = DateTime.Now;
    }

    public class ExceptionLogger : EsBase
    {
        public string message { get; set; }
        public Exception detail { get; set; }
    }

}
